package com.hb.trans.mvp.ui.activity

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.alibaba.android.arouter.facade.Postcard
import com.alibaba.android.arouter.facade.callback.NavigationCallback
import com.alibaba.android.arouter.launcher.ARouter
import com.hb.trans.global.ACTIVITY_MAIN

class LaunchActivity : AppCompatActivity(), NavigationCallback {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        ARouter.getInstance().build(ACTIVITY_MAIN).navigation(this, this)
    }

    override fun onLost(postcard: Postcard?) {

    }

    override fun onInterrupt(postcard: Postcard?) {
    }

    override fun onArrival(postcard: Postcard?) {
        finish()
    }

    override fun onFound(postcard: Postcard?) {

    }
}